package com.yupi.springbootinit.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.yupi.springbootinit.model.entity.Chart;

import java.util.List;
import java.util.Map;

/**
* @author asus
* @description 针对表【chart(图表信息表)】的数据库操作Service
* @createDate 2023-07-26 15:42:16
*/
public interface ChartService extends IService<Chart> {
    List<Map<String, Object>> queryChartData(String querySql);

    List<Map<String, Object>> queryChartDataById(Long chartId);

    boolean creatTable(Long id, String column1, String column2);

    boolean insertData(Long id, String data1, String data2);


    boolean retryIncrease(Long id);

    List<Long> getChartListWithRetryNumber();
}
